package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/8 .
 */

public class QRCodeInfo {

    /**
     * message : 获取页面链接成功
     * status : 100
     * url : http://ipay.yltg.com.cn/tgjf/pay/prepared?account=13912345678&posId=N9NL10087289
     */

    private String message;
    private int status;
    private String codeUrl;
    private String orderId;

    public static QRCodeInfo objectFromData(String str) {

        return new Gson().fromJson(str, QRCodeInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCodeUrl() {
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}
